<!DOCTYPE html>
<html lang="en">
<head>
    {% load static %}
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="{% static 'css/register.css' %}">
</head>
<body>
<body background="{% static 'img/wallpaper.jpg' %}" style="background-repeat:no-repeat ;background-size:100% 100%;background-attachment: fixed;">
<form action="" method="post">
    {% csrf_token %}
    <h1>注册——学生</h1>
    <p>学号：<input type="text" name="id" placeholder="学号" required></p>
    <p>密码：<input type="password" name="pwd" placeholder="密码" required></p>
    <p>确认密码：<input type="password" name="pwd2" placeholder="确认密码" required></p>
    <p style="font-size: 20px; color: red; padding-left: 60px">
        {% if err %}
           {{ err }}
        {% endif %}
    </p>
    <input type="submit" value="注册">
    <a href="/phoneLogin">手机号登录！</a>
    <a href="/login">已有账号？请登录</a>
</form>

</body>
</html>